package IC.SymbolTable;

import IC.AST.ICClass;
import IC.TypeTable.TypeTable;

public class ClassSymbol extends Symbol 
{

	private ICClass icClass;
	
	public ClassSymbol(ICClass c) throws SemanticError 
	
	{
		super(c.getName(), null, Kind.CLASS);
		
		this.icClass = c;
		TypeTable.addClassType(icClass);
        this.type = TypeTable.getClassType(this.symID);
        
	}

	
}
